.PHONY:all
all:tcp_client tcp_serve

tcp_client:tcp_client.cc
	g++ -o $@ $^
tcp_serve:main.cc
	g++ -o $@ $^ -lpthread

.PHONY:clean
clean:
	rm -f tcp_serve tcp_client